import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 班次查询
 * */
// 创建
export const workforcemanagementScheduleShiftCreate = (data) => postRequest('/workforcemanagement/schedule-shift/create', data);

// 更新
export const workforcemanagementScheduleShiftUpdate = (data) => putRequest('/workforcemanagement/schedule-shift/update', data);

// 删除
export const workforcemanagementScheduleShiftDelete = (params) => deleteRequest('/workforcemanagement/schedule-shift/delete', params);

// 获得
export const workforcemanagementScheduleShiftGet = (params) => getRequest('/workforcemanagement/schedule-shift/get', params);

// 获得分页
export const workforcemanagementScheduleShiftPage = (params) => getRequest('/workforcemanagement/schedule-shift/page', params);

// 导出 Excel
export const workforcemanagementScheduleShiftExportExcel = (params) => getRequest('/workforcemanagement/schedule-shift/export-excel', params);

// 提交
export const workforcemanagementScheduleShiftSubmitAudit = (params) => postRequest('/workforcemanagement/schedule-shift/submit-audit', params);
// 撤销提交
export const workforcemanagementScheduleShiftClearSubmitAudit = (params) => postRequest('/workforcemanagement/schedule-shift/clear-submit-audit', params);
// 审核
export const workforcemanagementScheduleShiftAudit = (params) => postRequest('/workforcemanagement/schedule-shift/audit', params);
// 撤销审核
export const workforcemanagementScheduleShiftClearAudit = (params) => postRequest('/workforcemanagement/schedule-shift/clear-audit', params);
// 保存并审核
export const workforcemanagementScheduleShiftCreateAudit = (params) => postRequest('/workforcemanagement/schedule-shift/create-audit', params);
// 更新并审核
export const workforcemanagementScheduleShiftUpdateAudit = (params) => putRequest('/workforcemanagement/schedule-shift/update-audit', params);
// 关闭
export const workforcemanagementScheduleShiftClose = (params) => postRequest('/workforcemanagement/schedule-shift/close', params);
// 撤销关闭
export const workforcemanagementScheduleShiftClearClose = (params) => postRequest('/workforcemanagement/schedule-shift/clear-close', params);
